package com.idealighter.game.roomcard.struct.gamecfg;

import com.alibaba.fastjson.TypeReference;
import com.idealighter.game.core.annotation.GameCfg;
import com.idealighter.game.core.common.GameIdConstant;
import com.idealighter.game.roomcard.struct.RoomCardGameCfg;
import com.idealighter.game.roomcard.struct.gamgcfg.value.NiuNiuRoomCardGameCfgValue;

/**
 * @ClassName MultiUserNiuNiuRoomCardGameCfg.
 * @Description 多人牛牛房卡游戏配置(2/3/4/5/6/7/8/9/10人)
 * @author houdongsheng
 * @date 2018年4月28日 下午3:08:03 .
 */
@GameCfg(GameIdConstant.MUST_NIUNIU)
public class MustNiuNiuRoomCardGameCfg extends RoomCardGameCfg<NiuNiuRoomCardGameCfgValue> {
  private static final long serialVersionUID = 1269810416647694574L;

  public MustNiuNiuRoomCardGameCfg() {
    super(new TypeReference<NiuNiuRoomCardGameCfgValue>() {});
    this.setGameId(GameIdConstant.MUST_NIUNIU);
  }

  /**
   * @param gameCfgs.
   */
  public MustNiuNiuRoomCardGameCfg(String gameCfgs) {
    super(new TypeReference<NiuNiuRoomCardGameCfgValue>() {});
    this.setGameId(GameIdConstant.MUST_NIUNIU);
    this.setGameCfgs(gameCfgs);
  }
}
